package other;

import java.util.HashMap;
import java.util.Map;

public class DNS {

    static {
        System.out.println(1);
    }

    public static void main(String[] args) {
        System.out.println(12);
    }

    private String getIp(String ip, int index, String domainName) {
        Server server = findServer(ip);
        String[] split = domainName.split(".");
        String nextIp = server.ips.get(split[index]);
        if (index == 0)
            return nextIp;
        return getIp(nextIp, index - 1, domainName);
    }

    private Server findServer(String ip) {
        return new Server();
    }

}

class Server {

    Map<String, String> ips = new HashMap<>();

}
